.second-page {
  overflow: scroll;
  font-family: iranSansX !important;
  color: #ffffff;
  overflow: scroll;

  padding: 0 0 30px;
}

.second-page__header {
  font-family: iranSansX;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  max-height: 56px;
  padding: 26px 16px;
  margin-bottom: 40px;
}

.second-page__prev {
  width: 25px;
  height: 25px;
  cursor: pointer;
}
.second-page__prev img {
  width: 100%;
  height: 100%;
}

.second-page__header-logo {
  margin-top: 9px !important;
  width: 65px;
  height: 65px;
  overflow: hidden;
  position: relative;
  left: 0;
  margin: 0 auto;
}
.second-page__header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.categories {
  margin-top: 31px;
  padding-right: 16px;
}

.categories .swiper-slide {
  color: #ffffff;
  cursor: pointer;
  width: fit-content;
}
.categories .swiper-slide:last-child {
  margin-left: 10px;
}

.active-category {
  border-bottom: 1px solid #f12315;
  color: #f12315 !important;
}

#ivaan-categories-v2 > div {
  color: #727272;
}
#ivaan-categories-v2 div.active-category {
  color: #8482cf !important;
  border-color: #8482cf;
}

#ivaan-categories-v3 > div {
  color: #727272;
}
#ivaan-categories-v3 div.active-category {
  color: #de7129 !important;
  border-color: #de7129;
}
#ivaan-categories-v4 > div {
  color: #000000a8;
}
#ivaan-categories-v4 div.active-category {
  color: #024442 !important;
  border-color: #de7129;
}

.categories .swiper-slide span {
  font-size: 14px;
}

.active-sub-category {
  background-color: #323e47 !important;
  color: #fff !important;
}

.subCategory {
  margin-top: 24px;
  padding: 0 16px;
}
.subCategory .swiper-slide {
  background-color: #2b2f33;
  width: fit-content;
  border-radius: 16px;
  padding: 10px;
  color: #aaaaaa;

  display: flex;
  align-items: center;
  justify-content: center;
}

#ivaan-subCategory-v2 > div {
  background-color: #dee9f1;
  color: #5c5c5c;
}
#ivaan-subCategory-v2 div.active-sub-category {
  color: #323232 !important;
  background-color: #b7cfe0 !important;
}

#ivaan-subCategory-v3 > div {
  background-color: #e7e7e7;
  color: #5c5c5c;
}
#ivaan-subCategory-v3 div.active-sub-category {
  color: #ffffff !important;
  background-color: #de7129 !important;
}

#ivaan-subCategory-v4 > div {
  background-color: #024442;
}
#ivaan-subCategory-v4 div.active-sub-category {
  color: #ffffff !important;
  background-color: #024442 !important;
}
.foods {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  padding-bottom: 30px;
  row-gap: 17px;
  flex-wrap: wrap;
}

.items:last-child {
  margin-bottom: 4vh;
}

.items {
  background-color: #2d3338;
  width: 45%;
  height: 32vh;
  border-radius: 8px;
  text-align: right;
  cursor: pointer;
  color: #fff;
  padding: 8px;
  position: relative;
  
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#ivaan-foods-v2 > div {
  background-color: #b7cfe0;
}
#ivaan-foods-v2 > div p.english_title {
  color: #5c5c5c;
  font-size: 10px;
  font-weight: 600;
}
#ivaan-foods-v2 > div p.title,
#ivaan-foods-v2 > div p.price {
  background-color: #b7cfe0;
  color: #323232;
}
#ivaan-foods-v2 > div p.description {
  background-color: #b7cfe0;
  color: #5c5c5c;
}

#ivaan-foods-v3 > div {
  background-color: #efe9de;
}
#ivaan-foods-v3 > div p.title,
#ivaan-foods-v3 > div p.price {
  background-color: #efe9de;
  color: #323232;
}
#ivaan-foods-v3 > div p.description {
  background-color: #efe9de;
  color: #5c5c5c;
}
#ivaan-foods-v4 > div {
  background-color: #024442;
  height: auto;
  min-height: 32vh;
}

.items img {
  width: 102px;
  max-width: 102px;
  min-width: 102px;
  height: 102px;
  max-height: 102px;
  min-height: 102px;
  object-fit: cover;
  display: block;
  border-radius: 100%;
  position: relative;
  left: -20px;
  align-self: flex-end;
}
.title {
  font-size: 16px;
  font-weight: 600;
  font-family: dana;
}
.price {
  font-size: 14px;
  font-weight: 600;
  font-family: dana;
}
.price.english {
  font-family: "Courier New", Courier, monospace;
}

.price.not-exist {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}
.price.not-exist::after {
  content: "";
}
.description {
  color: #aeaeae;
  font-size: 13px;
  font-weight: 400;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-family: iranSansX !important;
}

@media screen and (min-width: 444px) {
  #ivaan-foods-v4 .title{
    font-size: 16px !important;
  }
  #ivaan-foods-v4 .price{
    font-size: 14px !important;
  }
  #ivaan-foods-v4 .description{
    font-size: 13px !important;
  }
}

@media screen and (max-width: 445px)  and (min-width: 289px) {
  #ivaan-foods-v4 .title{
    font-size: 14px !important;
  }
  #ivaan-foods-v4 .price{
    font-size: 12px !important;
  }
  #ivaan-foods-v4 .description{
    font-size: 11px !important;
  }
}
@media screen and (max-width: 290px) {
  #ivaan-foods-v4 .title{
    font-size: 12px !important;
  }
  #ivaan-foods-v4 .price{
    font-size: 10px !important;
  }
  #ivaan-foods-v4 .description{
    font-size: 9px !important;
  }
}